# Date:   Mon Aug 11 09:47:15 PM 2025
# Mail:   lunar_ubuntu@qq.com
# Author: https://github.com/xiaoqixian

cmake_minimum_required(VERSION 3.10)
project(yolov5_openvino)

set(CMAKE_CXX_STANDARD 17)

add_compile_options(-g)
find_package(OpenVINO REQUIRED)
find_package(OpenCV REQUIRED)

find_package(PkgConfig REQUIRED)

pkg_check_modules(JSONCPP jsoncpp)
pkg_check_modules(AVFORMAT REQUIRED libavformat)
pkg_check_modules(AVCODEC REQUIRED libavcodec)
pkg_check_modules(AVUTIL REQUIRED libavutil)
pkg_check_modules(SWSCALE REQUIRED libswscale)

add_subdirectory(third_party/yaml-cpp)
add_subdirectory(third_party/nlohmann-json)
add_subdirectory(src)
